SetScale
측정 및 좌표 단위
설명
이후 모든 그리기 작업의 좌표계를 배율 조정합니다. 배율 1은 측정 단위를 Points로 설정하는 SetMeasurementUnits(0) 호출과 같습니다. 배율 (72 / 25.4)는 측정 단위를 millimeters로 설정하는 SetMeasurementUnits(1) 호출과 같습니다
구문
Delphi
Function TPDFlib.SetScale(NewScale: Double): Integer;
ActiveX
Function PDFlib::SetScale(NewScale As Double) As Long
DLL
int DLSetScale(int InstanceID, double NewScale);
매개변수
| NewScale | 사용할 배율 계수 |
|---|
반환 값
| 1 | 배율이 저장되었습니다 |
|---|---|
| 0 | NewScale이 0이거나, 음수이거나, NaN이거나, 역수를 표현할 수 없는 값입니다 |