Partilhar via


ShapeHasDecorators.HorizontalOffset Property

Gets or sets the value of HorizontalOffset domain property. Horizontal offset in inches relative to the default position of the decorator.

Namespace:  Microsoft.VisualStudio.Modeling.DslDefinition
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0.dll)

Syntax

'Declaração
<DomainObjectIdAttribute("293c082c-352f-4ffe-b1a6-bad9b7e3e1d6")> _
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ShapeHasDecorators/HorizontalOffset.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ShapeHasDecorators/HorizontalOffset.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ShapeHasDecorators/HorizontalOffset.Category",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
Public Property HorizontalOffset As Double
    Get
    Set
[DomainObjectIdAttribute("293c082c-352f-4ffe-b1a6-bad9b7e3e1d6")]
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ShapeHasDecorators/HorizontalOffset.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ShapeHasDecorators/HorizontalOffset.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ShapeHasDecorators/HorizontalOffset.Category", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
public double HorizontalOffset { get; set; }
[DomainObjectIdAttribute(L"293c082c-352f-4ffe-b1a6-bad9b7e3e1d6")]
[DisplayNameResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.ShapeHasDecorators/HorizontalOffset.DisplayName", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.ShapeHasDecorators/HorizontalOffset.Description", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[CategoryResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.ShapeHasDecorators/HorizontalOffset.Category", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
public:
property double HorizontalOffset {
    double get ();
    void set (double value);
}
[<DomainObjectIdAttribute("293c082c-352f-4ffe-b1a6-bad9b7e3e1d6")>]
[<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ShapeHasDecorators/HorizontalOffset.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ShapeHasDecorators/HorizontalOffset.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ShapeHasDecorators/HorizontalOffset.Category", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
member HorizontalOffset : float with get, set
function get HorizontalOffset () : double
function set HorizontalOffset (value : double)

Property Value

Type: System.Double

.NET Framework Security

See Also

Reference

ShapeHasDecorators Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace