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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0.dll)

Syntax

'Declaration
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ConnectorHasDecorators/OffsetFromLine.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<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")> _
<DomainObjectIdAttribute("bd7f821f-6cd4-4e01-b8ea-cc899432b29d")> _
Public Property OffsetFromLine As Double
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ConnectorHasDecorators/OffsetFromLine.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[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")]
[DomainObjectIdAttribute("bd7f821f-6cd4-4e01-b8ea-cc899432b29d")]
public double OffsetFromLine { get; set; }
[DisplayNameResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.ConnectorHasDecorators/OffsetFromLine.DisplayName", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[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")]
[DomainObjectIdAttribute(L"bd7f821f-6cd4-4e01-b8ea-cc899432b29d")]
public:
property double OffsetFromLine {
    double get ();
    void set (double value);
}
[<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ConnectorHasDecorators/OffsetFromLine.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<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")>]
[<DomainObjectIdAttribute("bd7f821f-6cd4-4e01-b8ea-cc899432b29d")>]
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