CodeCarvings.Piczard
LoadImageFromFileSystem(String,String,Single,CropConstraint) Method
See Also  Send Feedback
CodeCarvings.Piczard.Web Namespace > PictureTrimmer Class > LoadImageFromFileSystem Method : LoadImageFromFileSystem(String,String,Single,CropConstraint) Method

imagePath
The path of the file containing the Image to load into the PictureTrimmer control.
contentImageUrl
The url used by the control to retrieve the image displayed within the GUI.
outputResolution
The resolution (DPI) of the images that are generated by the PictureTrimmer control.
cropConstraint

The constraints that have to be satisfied by the cropped image; if null image cropping is disabled.

Loads the specified Image into the PictureTrimmer control and enable the crop feature by setting the specified CropConstraint; the provided ContentImageUrl and OutputResolution are used.

Syntax

Visual Basic (Declaration)  
Public Overloads Sub LoadImageFromFileSystem( _
   ByVal imagePath As String, _
   ByVal contentImageUrl As String, _
   ByVal outputResolution As Single, _
   ByVal cropConstraint As CropConstraint _
) 
C#  
public void LoadImageFromFileSystem( 
   string imagePath,
   string contentImageUrl,
   float outputResolution,
   CropConstraint cropConstraint
)

Parameters

imagePath
The path of the file containing the Image to load into the PictureTrimmer control.
contentImageUrl
The url used by the control to retrieve the image displayed within the GUI.
outputResolution
The resolution (DPI) of the images that are generated by the PictureTrimmer control.
cropConstraint

The constraints that have to be satisfied by the cropped image; if null image cropping is disabled.

Remarks

Requirements

Platforms: Windows 8, Windows 7, Windows Vista, Windows XP Professional, Windows 2000 - Windows Server family: 2012, 2008.R2, 2008, 2003, 2000

See Also

©2013 Sergio Turolla. All Rights Reserved.