OptrisOptrisDocumentation

Documentation/OTC SDK/Optris.Sdk — C# API referencev12.0

AttachmentFormat

public enum AttachmentFormat

Which container the SDK is about to write.

AttachmentScope says what kind of file it is; this says what the file is. Use it to decide what to attach, and AttachmentRequest.CanCarryAttachments to decide whether you may attach anything; that one is the SDK's own answer to its own container rule, so it keeps behaving when a format is added.

Value
Unknown 0 Nobody said. Zero, so a request nobody filled reads as "no answer" rather than as a claim about the container.
Png 1 A PNG still. Carries attachments as otCa chunks.
Tiff 2 A TIFF still. Carries attachments in private tag 65200.
Csv 3 A CSV still. Carries nothing.
Jpeg 4 A JPEG still. Carries nothing.
Mkv 5 A recording, or one segment of one. Matroska carries each attachment as a stream of its own.