TranslatePixels Method (IProjection)
In This Topic
Move the display pixels based on output size
Syntax
'Declaration
Sub TranslatePixels( _
ByVal As System.Drawing.SizeF, _
ByVal As System.Drawing.Size _
)
'Usage
Dim instance As IProjection
Dim Offset As System.Drawing.SizeF
Dim Size As System.Drawing.Size
instance.TranslatePixels(Offset, Size)
void TranslatePixels(
System.Drawing.SizeF ,
System.Drawing.Size
)
procedure TranslatePixels(
: System.Drawing.SizeF;
: System.Drawing.Size
);
function TranslatePixels(
: System.Drawing.SizeF,
: System.Drawing.Size
);
void TranslatePixels(
System.Drawing.SizeF ,
System.Drawing.Size
)
void TranslatePixels(
System.Drawing.SizeF ,
System.Drawing.Size
)
Parameters
- Offset
- The movement to apply, measured in output pixels
- Size
- The displaysize of the whole image as currently displayed
Requirements
Target Platforms: .NET CLR 4.8 or higher
See Also