|
DrawImageFileXY, DrawImageFileR Example |
Top |
|
[VC++]
m_Engine.BeginDoc(); // Set any image properties through ImageSettings property // Insert image at x=1, y=2 units m_Engine.DrawImageFileXY(1, 2, "C:\\Sample.jpg");
// Insert image within a specified rectangle m_Engine.DrawImageFileR(2.5, 2.5, 5, 5, "C:\\Sample.bmp"); m_Engine.EndDoc();
[VB] With gtEngineX1 'Set any image properties through ImageSettings Property .BeginDoc ' Insert image at x=1, y=2 units .DrawImageFileXY 1, 2, "C:\Sample.jpg" 'Insert image within a specified rectangle .DrawImageFileR 2, 2, 6, 3, "C:\Sample.bmp" .EndDoc End With |