Class XYZExplicitDestination
XYZExplicitDestination class
表示显式目标,该目标显示页面,坐标 (left, top) 位于窗口的左上角,页面内容按缩放因子放大。对于任何参数 left、top 或 zoom 的空值指定该参数的当前值保持不变。缩放值为 0 的含义与空值相同。
public sealed class XYZExplicitDestination : ExplicitDestination
Constructors
Properties
| Name | Description |
|---|
| Left { get; } | 获取窗口左上角的左侧水平坐标。 |
| Page { get; } | 获取目标页面对象 |
| PageNumber { get; } | 获取目标页面编号 |
| Top { get; } | 获取窗口左上角的顶部垂直坐标。 |
| Zoom { get; } | 获取缩放因子。 |
Methods
Examples
Document doc = new Document("example.pdf");
XYZExplicitDestination dest = (XYZExplicitDestination)doc.Outlines[1].Destination;
string left = dest.Left;
string top = dest.Top;
string zoom = dest.Zoom;
See Also