共用方式為


ConnectorHasDecorators.OffsetFromLine 屬性

取得或設定 OffsetFromLine 網域屬性的值。 Decorator 與線條之間的位移 (以英吋為單位),相對於其預設位置。

命名空間:  Microsoft.VisualStudio.Modeling.DslDefinition
組件:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0 (在 Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0.dll 中)

語法

'宣告
<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; }

屬性值

類型:System.Double

.NET Framework 安全性

請參閱

參考

ConnectorHasDecorators 類別

Microsoft.VisualStudio.Modeling.DslDefinition 命名空間