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: 13
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 (107.21.186.38)
13.45 min.Example: 'Starting a dialog box for connecting to network resources (mapping network drive)'
13.52 min.Example: 'Hiding mouse cursor'
7.67 hrs.Function: 'NetUserDel'
Function group: 'Network Management'
 Example: 'GetFileOwner - Get the owner of an NTFS file'
10.56 hrs.Example: 'Using GetNearestColor'
 Example: 'The SQLGetProp() creates a bridge between Visual FoxPro and the ODBC API'
14.39 hrs.Example: 'How to write and read Window Properties for the specified window'
18.54 hrs.Function: 'CryptGetProvParam'
 Function: 'GetNativeSystemInfo'
20.63 hrs.Example: 'How to assemble an array of strings and pass it to external function'
Google
Advertise here!