CodeCarvings.Piczard
LoadImageFromStream(Stream,Single,CropConstraint) Method
See Also  Send Feedback
CodeCarvings.Piczard.Web Namespace > PictureTrimmerCore Class > LoadImageFromStream Method : LoadImageFromStream(Stream,Single,CropConstraint) Method

stream
An open Stream containing the Image to load into the PictureTrimmerCore object.
outputResolution
The resolution (DPI) of the images that are generated by the PictureTrimmerCore object.
cropConstraint

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

Loads the specified Image into the PictureTrimmerCore object and enable the crop feature by setting the specified CropConstraint; the provided OutputResolution is used.

Syntax

Visual Basic (Declaration)  
Public Overloads Sub LoadImageFromStream( _
   ByVal stream As Stream, _
   ByVal outputResolution As Single, _
   ByVal cropConstraint As CropConstraint _
) 
C#  
public void LoadImageFromStream( 
   Stream stream,
   float outputResolution,
   CropConstraint cropConstraint
)

Parameters

stream
An open Stream containing the Image to load into the PictureTrimmerCore object.
outputResolution
The resolution (DPI) of the images that are generated by the PictureTrimmerCore object.
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.