Namespace: Stemmer.Cvb.Foundation
Assembly: Stemmer.Cvb.Foundation (in Stemmer.Cvb.Foundation.dll) Version: 14.0.0.0
public static Image Create( CalibrationPatternStyle style, CalibrationPatternContrast contrast, CalibrationPatternFormat paperSize, CalibrationPatternOrientation orientation, int numColumns, int numRows, double horizontalBorder, double verticalBorder, int dpi )
Parameters
- style
- Type: Stemmer.Cvb.FoundationCalibrationPatternStyle
Dot style to use (see CalibrationPatternStyle). - contrast
- Type: Stemmer.Cvb.FoundationCalibrationPatternContrast
Selects whether to use white on black or black on white dots (see CalibrationPatternContrast). - paperSize
- Type: Stemmer.Cvb.FoundationCalibrationPatternFormat
size of the paper on which to print the calibration pattern later on (see CalibrationPatternFormat). - orientation
- Type: Stemmer.Cvb.FoundationCalibrationPatternOrientation
Choose orientation; only relevant for AsymmetricDots. - numColumns
- Type: SystemInt32
Number of dot columns in the image. - numRows
- Type: SystemInt32
Number of dot rows in the image. - horizontalBorder
- Type: SystemDouble
Horizontal borders to be applied (in inches).
This value should match the setting that is going to be used for printing the resulting image. Must not be negative. The meaning of horizontal refers to the paper size definition and is independent of the orientation setting.
- verticalBorder
- Type: SystemDouble
Vertical borders to be applied (in inches).
This value should match the setting that is going to be used for printing the resulting image. Must not be negative. The meaning of vertical refers to the paper size definition and is independent of the orientation setting.
- dpi
- Type: SystemInt32
Dot density to be used (in dots per inch).
It usually makes sense to set this parameter to the printer's physical dot density or half or quarter of that. Minimum value is 150.
Return Value
Type: ImageCalibration pattern image.