Exemple #1
0
 public void WriteDocStringHex(string text)
 {
     WriteSeparator(CharCat.Delimiter);
     //WriteRaw(PDFEncoders.DocEncodeHex(text));
     byte[] bytes = PDFEncoders.DocEncoding.GetBytes(text);
     bytes = PDFEncoders.FormatStringLiteral(bytes, false, false, true, SecurityHandler);
     Stream.Write(bytes, 0, bytes.Length);
     _lastCat = CharCat.Delimiter;
 }
Exemple #2
0
 public void WriteDocString(string text)
 {
     WriteSeparator(CharCat.Delimiter);
     //WriteRaw(PDFEncoders.DocEncode(text, false));
     byte[] bytes = PDFEncoders.DocEncoding.GetBytes(text);
     bytes = PDFEncoders.FormatStringLiteral(bytes, false, false, false, SecurityHandler);
     Write(bytes);
     _lastCat = CharCat.Delimiter;
 }