共用方式為


LineLabelShape.Offset 屬性

取得或設定 Offset 網域屬性的值。 Microsoft.VisualStudio.Modeling.Diagrams.LineLabelShape.Offset 的描述

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

語法

'宣告
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.LineLabelShape/Offset.DisplayName",  _
    GetType(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.LineLabelShape/Offset.Description",  _
    GetType(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")> _
<BrowsableAttribute(False)> _
<DomainPropertyAttribute(Kind := DomainPropertyKind.CustomStorage)> _
<DomainObjectIdAttribute("523ab5e3-13d3-403e-91f4-feac147939b6")> _
Public Property Offset As PointD
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.LineLabelShape/Offset.DisplayName", 
    typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.LineLabelShape/Offset.Description", 
    typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[BrowsableAttribute(false)]
[DomainPropertyAttribute(Kind = DomainPropertyKind.CustomStorage)]
[DomainObjectIdAttribute("523ab5e3-13d3-403e-91f4-feac147939b6")]
public PointD Offset { get; set; }

屬性值

類型:Microsoft.VisualStudio.Modeling.Diagrams.PointD

.NET Framework 安全性

請參閱

參考

LineLabelShape 類別

Microsoft.VisualStudio.Modeling.Diagrams 命名空間