Using Win32 functions in Visual FoxPro Image Gallery
GDI+ Graphics
..msdn
GdipCreateFromHDC
GdipCreateFromHDC2
GdipCreateFromHWND
GdipDeleteGraphics
GdipDrawImageI
GdipDrawImageRectI
GdipDrawImageRectRectI
GdipDrawLineI
GdipDrawPieI
GdipDrawRectangle
GdipFillPieI
GdipFillRectangle
GdipGetDC
GdipGetDpiX
GdipGetDpiY
GdipGetPageScale
GdipGetPageUnit
GdipReleaseDC
GdipResetWorldTransform
GdipRotateWorldTransform
GdipSetClipRectI
GdipSetPageScale
GdipSetPageUnit
GdipSetTextRenderingHint
GdipSetWorldTransform
GdipTranslateWorldTransform
Code examples:
Custom GDI+ class
GdipSetPageScale
..msdn    Add comment     W32 Constants      Translate this page
Sets the scaling factor for the page transformation of this Graphics handle.
Code examples:
Custom GDI+ class
Declaration:
 
GpStatus WINGDIPAPI GdipSetPageScale(
    GpGraphics *graphics,
    REAL scale
)
 
FoxPro declaration:
 
DECLARE INTEGER GdipSetPageScale IN gdiplus;
    INTEGER graphics,;
    SINGLE scale
 
Parameters:
graphics
[in] Handle to the Graphics object.

scale
[in] Real number that specifies the scaling factor.
Return value:
Returns GpStatus value, 0 means success.
Usage:
 
nPageScale = 300/72
THIS.errorcode = GdipSetPageScale(THIS.graphics,;
    m.nPageScale)
 
My comment:
See Also: GdipGetPageScale, GdipSetPageUnit
Word Index links for the GdipSetPageScale :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2009-09-18 11:16:38
Modified: 2009-09-18 12:29:08
Visited in last 7 days: 14
User Contributed Notes:
There are no notes on this subject.


Copyright © 2001-2013 News2News, Inc. Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use. The information on this page is presented AS IS, meaning that you may use it at your own risk. Microsoft Visual FoxPro and Windows are trade marks of Microsoft Corp. All other trademarks are the property of their respective owners. 

Privacy policy
Credits: PHP (4.4.9), an HTML-embedded scripting language, MySQL (5.1.55-log), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (184.73.74.47)
8.12 hrs.Function: 'GetFileAttributes'
 Example: 'How to access a file using not its name but an alias (hard link)'
11.72 hrs.Example: 'GDI+: rotating images using matrix transformations'
 Example: 'How to obtain Content-Type value for a file type from the System Registry'
 Example: 'How to enumerate, add and delete shares on the local computer (WinNT/XP)'
13.45 hrs.Example: 'GDI+: Creating thumbnails to preview images in a directory'
 Function: 'CryptDestroyKey'
1 day(s)Example: 'Pocket PC: Folder Viewer'
 Example: 'How to retrieve configuration data for a specified printer stored in the registry (PrinterDriverData key)'
 Example: 'How to print FoxPro form'
Google
Advertise here!