Class OdfLayerInfo
Represents summary information for a layer on a drawing page. 表示繪圖頁面上一個圖層的摘要資訊。
public sealed class OdfLayerInfo
- Inheritance
-
OdfLayerInfo
- Inherited Members
Constructors
OdfLayerInfo(string, string, bool, string?)
Represents summary information for a layer on a drawing page. 表示繪圖頁面上一個圖層的摘要資訊。
public OdfLayerInfo(string pageName, string name, bool isProtected, string? display)
Parameters
pageNamestringThe name of the drawing page. / 所在繪圖頁面名稱。
namestringThe layer name. / 圖層名稱。
isProtectedboolWhether the layer is protected. / 圖層是否受保護。
displaystringThe raw layer display mode text (
draw:display). / 圖層顯示模式原文(draw:display)。
Properties
Display
Gets the raw layer display mode text. 取得圖層顯示模式原文。
public string? Display { get; }
Property Value
IsProtected
Gets whether the layer is protected. 取得圖層是否受保護。
public bool IsProtected { get; }
Property Value
Name
Gets the layer name. 取得圖層名稱。
public string Name { get; }
Property Value
PageName
Gets the name of the drawing page. 取得所在繪圖頁面名稱。
public string PageName { get; }