MPfm: Music Player for Musicians - Developer Documentation - 0.6.0.0
RenderImageWithAlignment Method (g, rect, image, align)
NamespacesMPfm.WindowsControlsPaintHelperRenderImageWithAlignment(Graphics, Rectangle, Image, ContentAlignment)
Renders an image with alignment using a 1:1 ratio.
Declaration Syntax
C#Visual Basic
public static void RenderImageWithAlignment(
	Graphics g,
	Rectangle rect,
	Image image,
	ContentAlignment align
)
Public Shared Sub RenderImageWithAlignment ( _
	g As Graphics, _
	rect As Rectangle, _
	image As Image, _
	align As ContentAlignment _
)
Parameters
g (Graphics)
Graphics object to render to
rect (Rectangle)
Rectangle representing the area where the content should be aligned
image (Image)
Image to render
align (ContentAlignment)
Alignment

Assembly: MPfm.WindowsControls (Module: MPfm.WindowsControls) Version: 0.5.3.0 (0.5.3.0)