public FilmBox StartFilmBox(string format, string orientation, string filmSize) { var filmBox = new FilmBox(FilmSession, null, DicomTransferSyntax.ExplicitVRLittleEndian) { ImageDisplayFormat = format, FilmOrienation = orientation, FilmSizeID = filmSize, MagnificationType = "NONE", BorderDensity = "BLACK", EmptyImageDensity = "BLACK" }; filmBox.Initialize(); FilmSession.BasicFilmBoxes.Add(filmBox); _currentFilmBox = filmBox; return filmBox; }
private void OpenFilmBox() { var filmBox = new FilmBox(FilmSession, null, DicomTransferSyntax.ExplicitVRLittleEndian) { AnnotationDisplayFormatID = AnnotationDisplayFormatID, ConfigurationInformation = ConfigurationInformation, BorderDensity = BorderDensity, FilmOrientation = FilmOrientation, FilmSizeID = FilmSizeID, Illumination = Illumination, ImageDisplayFormat = ImageDisplayFormat, MagnificationType = MagnificationType, MaxDensity = MaxDensity, MinDensity = MinDensity, ReflectedAmbientLight = ReflectedAmbientLight, RequestedResolutionID = RequestedResolutionID, SmoothingType = SmoothingType, Trim = Trim }; if (!SpecifyReferenceSequance) { filmBox.EmptyImageDensity = EmptyImageDensity; } filmBox.Initialize(); FilmSession.BasicFilmBoxes.Add(filmBox); _currentFilmBox = filmBox; }