Common Methods |
![]() |
The Common type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | CaptureWindowToBitmap |
Capture control-based window to bitmap. It allows capturing OpenGL windows as well.
|
![]() ![]() | ColorFromHSV |
Creates color from HSV.
|
![]() ![]() | ColorToOle | |
![]() ![]() | ConvertTo24Bpp |
Convert bitmap to 24BPP pixel format
|
![]() ![]() | CreateLabeledBitmap(Bitmap, Int32, Int32, Int32, Int32, Int32) | |
![]() ![]() | CreateLabeledBitmap(Bitmap, String, Int32, Int32, Int32, Int32) |
Create bitmap with text in the top-left corner.
|
![]() ![]() | CreateMaskColor |
Creates color for mask that is slightly different from srcColor to be distinguishable on the image.
The new color has lower saturation or different brightness.
|
![]() ![]() | FindItemOrControl |
Find a named item or control in a hierarchy.
|
![]() ![]() | Format | |
![]() ![]() | FormatTime |
Returns formated string according to the selected time format in the McApplication
|
![]() ![]() | GetAbsLog10 |
Returns log10 of absolute value, can be used to calculate the number of significant digits
|
![]() ![]() | GetChannelNamesAndColors | |
![]() ![]() | GetCompositeHost | |
![]() ![]() | GetDocDataThumbnailKey | |
![]() ![]() | GetFileName | |
![]() ![]() | GetFrameRangeAsList(McImage) | |
![]() ![]() | GetFrameRangeAsList(Object, Int32) | |
![]() ![]() | GetImageEx | |
![]() ![]() | GetImageFromView | |
![]() ![]() | GetImageFromWindow(McWindow) | |
![]() ![]() | GetImageFromWindow(McWindow, Boolean) | |
![]() ![]() | GetImageFromWindow(McWindow, Object) |
Returns McImage object associated with the window. The data is passed from McWindow.DocumentView.Document.Data
|
![]() ![]() | GetImageThumbnail |
Return image thumbnail, create if it doesn't exist
|
![]() ![]() | GetImageThumbnailKey |
Generate key for image thumbnail
|
![]() ![]() | GetNextQuickFileName |
Returns next available file name for QuickSaveForPublication (true) or QuickSaveForAnalysis(false)
|
![]() ![]() | GetNumberOfDecimalPlaces |
Calculate number of decimal places using the number of significant digits based on the given value.
|
![]() ![]() | GetOverlayFromView |
Returns Overlay displayed in the View, the function is used to get overlays to Tiling and ImageCompare views
|
![]() ![]() | GetWindowThumbnail |
Returns McWindow thumbnail as Image
|
![]() ![]() | GetWindowThumbnailKey |
Returns Thumbnail key for the given window.
|
![]() ![]() | InRange | |
![]() ![]() | IsCompositeImage | |
![]() ![]() | IsInRange | |
![]() ![]() | LineCoefficients | |
![]() ![]() | MergeBitmaps(Bitmap, CornerBitmap) |
Add predefined image to the corner
|
![]() ![]() | MergeBitmaps(Bitmap, Bitmap, Int32, Int32, eCornerPos) |
Merges CornerImage into Image in the right bottom corner
|
![]() ![]() | PlaySound |
Play predefined sound
|
![]() | RemoveImageFromImageList | |
![]() ![]() | ResizeBitmap |
Resize bitmap using high quality interpolation
|
![]() ![]() | Round(Double) |
Round value to the simple fractions.
|
![]() ![]() | Round(Double, Double, Double) |
Round value to the simple fractions and verify range.
|
![]() ![]() | Round(Double, Double, Double, Double) | |
![]() ![]() | RoundRect |
Creates a round rect shape
|
![]() ![]() | StripXML |
Strips XML string from input string, used to remove XML part of Description field.
|
![]() ![]() | TopImage |
Returns top image from WindowsActivationStack, even if the active window doesn't contain image view. The last active image will be returned.
|