- copyH->ReplaceOrCreateByNumber( "8", 0x0028, 0x0100); // BitsAllocated
- copyH->ReplaceOrCreateByNumber( "8", 0x0028, 0x0101); // BitsStored
- copyH->ReplaceOrCreateByNumber( "7", 0x0028, 0x0102); // HighBit
- copyH->ReplaceOrCreateByNumber( "0", 0x0028, 0x0103); //Pixel Representation
-
+ copyF->InsertEntryString( "8", 0x0028, 0x0100, "US"); // Bits Allocated
+ copyF->InsertEntryString( "8", 0x0028, 0x0101, "US"); // Bits Stored
+ copyF->InsertEntryString( "7", 0x0028, 0x0102, "US"); // High Bit
+ copyF->InsertEntryString( "0", 0x0028, 0x0103, "US"); // Pixel Representation
+