Partager via


ConnectorHasDecorators.OffsetFromLine Property

Gets or sets the value of OffsetFromLine domain property. Offset in inches of the decorator from the line relative to its default position.

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

Syntax

'Déclaration
<DomainObjectIdAttribute("bd7f821f-6cd4-4e01-b8ea-cc899432b29d")> _
<CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ConnectorHasDecorators/OffsetFromLine.Category",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ConnectorHasDecorators/OffsetFromLine.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ConnectorHasDecorators/OffsetFromLine.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
Public Property OffsetFromLine As Double
    Get
    Set
[DomainObjectIdAttribute("bd7f821f-6cd4-4e01-b8ea-cc899432b29d")]
[CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ConnectorHasDecorators/OffsetFromLine.Category", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ConnectorHasDecorators/OffsetFromLine.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ConnectorHasDecorators/OffsetFromLine.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
public double OffsetFromLine { get; set; }
[DomainObjectIdAttribute(L"bd7f821f-6cd4-4e01-b8ea-cc899432b29d")]
[CategoryResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.ConnectorHasDecorators/OffsetFromLine.Category", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.ConnectorHasDecorators/OffsetFromLine.Description", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DisplayNameResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.ConnectorHasDecorators/OffsetFromLine.DisplayName", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
public:
property double OffsetFromLine {
    double get ();
    void set (double value);
}
[<DomainObjectIdAttribute("bd7f821f-6cd4-4e01-b8ea-cc899432b29d")>]
[<CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ConnectorHasDecorators/OffsetFromLine.Category", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ConnectorHasDecorators/OffsetFromLine.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ConnectorHasDecorators/OffsetFromLine.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
member OffsetFromLine : float with get, set
function get OffsetFromLine () : double
function set OffsetFromLine (value : double)

Property Value

Type: System.Double

.NET Framework Security

See Also

Reference

ConnectorHasDecorators Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace