This method skews the coordinates to the angles specified.
HRESULT SkewCoords ( FLOAT xAngle, FLOAT yAngle ) |
{ 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);
// 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);
// 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);
' 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