Click or drag to resize

McSCalibration Class

Spatial calibration support class
Inheritance Hierarchy
SystemObject
  MediaCy.Addins.SCalibrationMcSCalibration

Namespace:  MediaCy.Addins.SCalibration
Assembly:  MediaCy.Addins.SCalibration (in MediaCy.Addins.SCalibration.dll) Version: 3.1.0.0
Syntax
VB
Public Class McSCalibration
	Implements IDTExtensibility2

The McSCalibration type exposes the following members.

Constructors
  NameDescription
Public methodMcSCalibration
Initializes a new instance of the McSCalibration class
Top
Properties
  NameDescription
Public propertyAutoFontSize
Calculate font size from image height as FontSizePercent
Public propertyAutoMarker
AutoMarker, if True the size of the scale bar is calculated automatically based on the image width and AutoMarkerLength
Public propertyAutoMarkerLength
Length of the scale bar in percents of image width. Used only when AutoMarker is True
Public propertyBackColor
Background color of the scale bar. Use a negative value to set transparent background.
Public propertyFontName
Font name of the scale bar's text
Public propertyFontSizePercent
Font size as percent of image height, used when AutoFontSize is True
Public propertyMarkerColor
Color of the scale bar
Public propertyMarkerLength
Scale bar length in calibrated units
Public propertyMarkerOptions
Public propertyMarkerPos
Position of the scale bar.
Public propertyMarkNewImages
Automatically place scale bar on all new images
Public propertyMicrometerStep
Distance between lines of micrometer used for auto-calibration
Public propertyShowMarkerInActiveDataOverlay
Show scale bar in Active data overlay
Public propertyTextColor
Text Color of the scale bar
Public propertyTextSize
Text size of the scale bar
Public propertyStatic memberThisAddin
Top
Methods
  NameDescription
Public methodCode exampleAutoCalibrate
Creates spatial calibration based on the active image.
Public methodStatic memberCheckUniqueName
Public methodDeleteCalibration
Public methodFileExists
Public methodFillSysCombo
Public methodCode exampleGetAutoPixelSize
Calculates calibration parameters based on the image and returns pixel per unit.
Public methodGetCalIntoText
Public methodGetCustomUI
Public methodIsMarkerPresent
Returns True if calibration scale bar present on the active image
Public methodOnAddInsUpdate
Public methodOnAfterChangeActiveCalibration
Public methodOnAutoMarker
Public methodOnBeforeChangeActiveCalibration
Public methodOnBeginShutdown
Public methodOnConnection
Public methodOnCreateCameraCalibration
Public methodOnDisconnection
Public methodOnRemoveCalibrationMarker
Public methodOnSetCalibrationMarker
Public methodOnSetDirty
Public methodOnStartupComplete
Public methodOnUpdateFromNewCalibration
Public methodRemoveMarker
Remove scale bar from the active image
Public methodCode exampleSetCalibrationMarker
Set scale bar on the image in annotation overlay.
Public methodShowCalibrationDialog
Show Autocalibration or Calibrate by feature dialog
Public methodShowCalibrationMarkerDialog
Shows/hides scale bar dialog
Top
Events
Remarks
This add-in implements scale bar support.
See Also