PDF Creator Pilot documentation |
Download CHM version of this manual. |
|
![]() ![]() Collapse AllThis method skews the coordinates to the angles specified.
|
| HRESULT SkewCoords ( FLOAT xAngle, FLOAT yAngle ) |
Parameters
xAngle
Skew angle of the X axis
yAngle
Skew angle of the Y axis
Return value
If successful, this method returns S_OK. If it fails, this method should return one of the error values.
Example
Skewing Coordinates
Delphi
[copy to clipboard]
{ PDF object is supposed to be created }
PDF.SkewCoords(5, -15);
PDF.DrawRectangle(150, 150, 150, 50, 0);
PDF.Stroke;
f := PDF.AddFont('Arial', false, false, false, false, fcDefault);
PDF.UseFont(f, 18);
PDF.ShowTextAt(150, 210, 'Text.');
PDF.SaveToFile('test.pdf', true);
C/C++
[copy to clipboard]
// PDF object is supposed to be created
PDF->SkewCoords(5, -15);
PDF->DrawRectangle(150, 150, 150, 50, 0);
PDF->Stroke();
long f = PDF->AddFont("Arial", false, false, false, false, fcDefault);
PDF->UseFont(f, 18);
PDF->ShowTextAt(150, 210, "Text.");
PDF->SaveToFile("test.pdf", true);
C#
[copy to clipboard]
// PDF object is supposed to be created
PDF.SkewCoords(5, -15);
PDF.DrawRectangle(150, 150, 150, 50, 0);
PDF.Stroke();
long f = PDF.AddFont("Arial", false, false, false, false, FontCharset.fcDefault);
PDF.UseFont(f, 18);
PDF.ShowTextAt(150, 210, "Text.");
PDF.SaveToFile("test.pdf", true);
Visual Basic Script
[copy to clipboard]
' PDF object is supposed to be created
PDF.SkewCoords 5, -15
PDF.DrawRectangle 150, 150, 150, 50, 0
PDF.Stroke
f = PDF.AddFont("Arial", false, false, false, false, 0)
PDF.UseFont f, 18
PDF.ShowTextAt 150, 210, "Text."
PDF.SaveToFile "test.pdf", true
See Also
Reference



