SetRenderCropType
渲染和列印
描述
設定描繪時作為裁切區域的頁面邊界
語法
Delphi
Function TPDFlib.SetRenderCropType(NewCropType: Integer): Integer;
ActiveX
Function PDFlib::SetRenderCropType(NewCropType As Long) As Long
DLL
int DLSetRenderCropType(int InstanceID, int NewCropType);
參數
| NewCropType | 1 = MediaBox 2 = CropBox 3 = BleedBox 4 = TrimBox 5 = ArtBox |
|---|
傳回值
| 0 | NewCropType 參數超出範圍。 |
|---|---|
| 1 | 描繪裁切類型設定成功。 |