LAUREL BRIDGE

Options Class

DICOM Connectivity Framework V3.4
A class for BitmapToDicom program options.
Inheritance Hierarchy

SystemObject
  LaurelBridge.DCF.Examples.BitmapToDicomOptions

Namespace:  LaurelBridge.DCF.Examples.BitmapToDicom
Assembly:  BitmapToDicom (in BitmapToDicom.exe) Version: DCF34 r11538 DCF_3_4_24_20190319
Syntax

C#
public class Options

The Options type exposes the following members.

Constructors

  NameDescription
Public methodOptions
Initializes a new instance of the Options class
Top
Properties

  NameDescription
Public propertyAllocated
8 or 16, RGB is 8 only, default=8 for bits stored <= 8, otherwise 16
Public propertyBitmapPath
The path to the Bitmap file.
Public propertyBitsAllocated
8 or 16, RGB is 8 only, default=8 for bits stored <= 8, otherwise 16. This property will contain the integer value parsed from the Allocated options property.
Public propertyBitsStored
8 for RGB, 3-16 for MONO1 or MONO2, default=8 for RGB, 12 for MONO. This property will contain the integer value parsed from the Stored options property.
Public propertyDicomPath
The path for the DICOM output file, which is overwritten if it exists.
Public propertyPhotometric
One of RGB, MONOCHROME2, MONOCHROME1, default=RGB.
Public propertyPixelRepresentation
One of 0 (unsigned) or 1 (signed), RGB is unsigned only, default is unsigned for MONO
Public propertyStored
8 for RGB, 3-16 for MONO1 or MONO2, default=8 for RGB, 12 for MONO
Public propertyTransferSyntax
The transfer syntax uid, default=1.2.840.10008.1.2.1 (ELE)
Top
Methods

  NameDescription
Public methodStatic memberTryParse
Try to create an instance of the Options class using the specified commandLine parameter. For an invalid command line, a failure message is written to the console.
Top
See Also

Reference