PageSetup.PageWidth 属性
定义
返回或设置页面的宽度,以磅为单位。Returns or sets the width of the page in points.
public:
property float PageWidth { float get(); void set(float value); };
public float PageWidth { get; set; }
member this.PageWidth : single with get, set
Public Property PageWidth As Single
属性值
注解
设置PageWidth属性会将该 PaperSize 属性更改为wdPaperCustom。Setting the PageWidth property changes the PaperSize property to wdPaperCustom.
使用 PaperSize 属性可设置预定义大小的纸张的页面高度和宽度,例如 Letter 或 A4 纸。Use the PaperSize property to set the page height and width to those of a predefined paper size, such as Letter or A4.