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
GdipGetPageScale
..msdn    Add comment     W32 Constants      Translate this page
Gets the scaling factor currently set for the page transformation of this Graphics handle.
Code examples:
Custom GDI+ class
Declaration:
 
GpStatus WINGDIPAPI GdipGetPageScale(
    GpGraphics *graphics,
    REAL *scale
)
 
FoxPro declaration:
 
DECLARE INTEGER GdipGetPageScale IN gdiplus;
    INTEGER graphics,;
    SINGLE @scale
 
Parameters:
graphics
[in] Handle to the Graphics object.

scale
[out] Real number that specifies the scaling factor currently set for this Graphics handle.
Return value:
Returns GpStatus value, 0 means success.
Usage:
 
nPageScale=0.00
THIS.errorcode = GdipGetPageScale(THIS.graphics,;
    @nPageScale)
 
My comment:
The page transformation converts page coordinates to device coordinates.

See Also: GdipSetPageScale, GdipGetPageUnit
Word Index links for the GdipGetPageScale :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2009-09-18 11:12:26
Modified: 2009-09-18 12:29:49
Visited in last 7 days: 15
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 (50.16.132.180)
2.6 hrs.Example: 'Loading a string resource from an executable file'
 Example: 'Retrieving the name of the network resource associated with a local device'
 Function: 'SetBkMode'
3.36 hrs.Example: 'How to display advanced Task Dialog (Vista)'
4.96 hrs.Function: 'AssignProcessToJobObject'
Function group: 'Process and Thread'
5.95 hrs.Example: 'Retrieving local computer and user names'
 Example: 'Sending email messages with Simple MAPI'
 Function: 'CreateWindow'
6.92 hrs.Example: 'Using the LoadImage function to have a bitmap file loaded and displayed on VFP main window'
6.93 hrs.Example: 'Creating the Save dialog box to specify the drive, directory, and name of a file to save'
Google
Advertise here!