... are only used in the methods: New - Sets nXoffset and nYoffset based on printer settings. Cmtr2Pix - Uses nXoffset and nYoffset to convert centimeters to pixels. Mmtr2Pix - Uses nXoffset and nYoffset to convert millimeters to pixels. Inch2Pix - Uses nXoffset and nYoffset to convert inches ...
... are only used in the methods: New - Sets nXoffset and nYoffset based on printer settings. Cmtr2Pix - Uses nXoffset and nYoffset to convert centimeters to pixels. Mmtr2Pix - Uses nXoffset and nYoffset to convert millimeters to pixels. Inch2Pix - Uses nXoffset and nYoffset to convert inches ...
... In the first one, nRow and nCol are coodinates in grapjical In the second one, nRow and nCol are coodinates in centimeters and the third one, nRow and nCol are coordinates in inches Unfortunately I have not a sample. Regards
... of the new margin to be used. Default is 0.2. nType The type of margin to be changed: LEFT 1 (default) TOP 4 RIGHT 2 BOTTOM 5 nScale Inches or centimeters to be used: INCHES 1 (default) CENTIMETERS 2 Use the manifest constants: RPT_LEFT RPT_RIGHT RPT_TOP RPT_BOTTOM ----------------------------
Hello, I'm looking for a function which can take a left or a right part of a string in centimeters. I want to use this string to put into a Word document but the space I have is limited. Since proportional fonts are used, I cannot use the normal LEFT() or RIGHT(). ...
Please build a reduced and self-contained sample of what you are trying to do. Please note that CmSay() means "Centimeters Say", ie. you have to provide the coordinates in centimeters.
... * Fix: function TrackMouseEvent() had a mistake in its code. Now it is fine. * New: Class TPrinter Method MmSay( nRow, nCol ), same as CmSay() (centimeters), but managing milimeters. * Enhancement: function PrnOffset( hDC ) --> aPoint has been modify to use GetDeviceCaps() to retrieve such ...
Ken, > Was there a reason why centimeters was chosen as opposed to millimeters? No, not a specific reason. Lets implement MmSay() too: METHOD MmSay( nRow, nCol, cText, oFont, nWidth, nClrText, nBkMode, nPad ); INLINE ; (::Mmtr2Pix(@nRow, ...
... printer coordinates and found it easier if the coordinates where entered as millimeters. However, using oPrn:cmsay(), the input must be in centimeters which then gets converted back to millimeters. Was there a reason why centimeters was chosen as opposed to millimeters? PrnOffset() Escape( ...
Hello, I'd like to make a dialog with a button that instructs a scanner to start scanning and save the scanned document in a pre defined folder. Do you guys have ideas? Patrick Hi Patrick, I suggest you to use the Rafa Carmona's tscan class. It use the DOSADI dlls that are not free if you want to u...