Class OdfPathInfo
Represents summary information for a path shape on a drawing page. 表示繪圖頁面上一個路徑圖形的摘要資訊。
public sealed class OdfPathInfo
- Inheritance
-
OdfPathInfo
- Inherited Members
Constructors
OdfPathInfo(string, string, string, string?, string?, string?, string?)
Represents summary information for a path shape on a drawing page. 表示繪圖頁面上一個路徑圖形的摘要資訊。
public OdfPathInfo(string pageName, string id, string svgPathData, string? x, string? y, string? width, string? height)
Parameters
pageNamestringThe name of the drawing page. / 所在繪圖頁面名稱。
idstringThe shape identifier. / 圖形識別碼。
svgPathDatastringThe SVG path data description string. / SVG path data 路徑描述字串。
xstringThe raw bounding box X coordinate text. / 邊界盒 X 座標原文。
ystringThe raw bounding box Y coordinate text. / 邊界盒 Y 座標原文。
widthstringThe raw bounding box width text. / 邊界盒寬度原文。
heightstringThe raw bounding box height text. / 邊界盒高度原文。
Properties
Height
Gets the raw bounding box height text. 取得邊界盒高度原文。
public string? Height { get; }
Property Value
Id
Gets the shape identifier. 取得圖形識別碼。
public string Id { get; }
Property Value
PageName
Gets the name of the drawing page. 取得所在繪圖頁面名稱。
public string PageName { get; }
Property Value
SvgPathData
Gets the SVG path data description string. 取得 SVG path data 路徑描述字串。
public string SvgPathData { get; }
Property Value
Width
Gets the raw bounding box width text. 取得邊界盒寬度原文。
public string? Width { get; }
Property Value
X
Gets the raw bounding box X coordinate text. 取得邊界盒 X 座標原文。
public string? X { get; }
Property Value
Y
Gets the raw bounding box Y coordinate text. 取得邊界盒 Y 座標原文。
public string? Y { get; }
Property Value
Methods
TryGetHeight(out OdfLength)
public bool TryGetHeight(out OdfLength length)
Parameters
lengthOdfLengthThe length value returned on successful parsing. / 解析成功時傳回的長度值。
Returns
TryGetWidth(out OdfLength)
public bool TryGetWidth(out OdfLength length)
Parameters
lengthOdfLengthThe length value returned on successful parsing. / 解析成功時傳回的長度值。
Returns
TryGetX(out OdfLength)
public bool TryGetX(out OdfLength length)
Parameters
lengthOdfLengthThe length value returned on successful parsing. / 解析成功時傳回的長度值。
Returns
TryGetY(out OdfLength)
public bool TryGetY(out OdfLength length)
Parameters
lengthOdfLengthThe length value returned on successful parsing. / 解析成功時傳回的長度值。