PDFOperation.AddImage Method

HD.Common

PDFOperationAddImage Method Helper帮助文档
添加图片

Namespace: HD.Common
Assembly: HD.Common (in HD.Common.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public void AddImage(
	string path,
	int Alignment,
	float newWidth,
	float newHeight
)
Public Sub AddImage ( 
	path As String,
	Alignment As Integer,
	newWidth As Single,
	newHeight As Single
)
public:
void AddImage(
	String^ path, 
	int Alignment, 
	float newWidth, 
	float newHeight
)
member AddImage : 
        path : string * 
        Alignment : int * 
        newWidth : float32 * 
        newHeight : float32 -> unit 

Parameters

path
Type: SystemString
图片路径
Alignment
Type: SystemInt32
对齐方式(1为居中,0为居左,2为居右)
newWidth
Type: SystemSingle
图片宽(0为默认值,如果宽度大于页宽将按比率缩放)
newHeight
Type: SystemSingle
图片高
See Also

Reference