Exemple #1
0
 public static void Write(
     Class889 stream,
     DxfModel model,
     uint estimatedObjectCount,
     uint objectsSectionStreamOffset)
 {
     stream.vmethod_9(0);
     stream.vmethod_11(estimatedObjectCount);
     if (model.Header.AcadVersion >= DxfVersion.Dxf15)
     {
         stream.vmethod_27(model.Header.UpdateUtcDateTime);
     }
     else
     {
         stream.vmethod_27(model.Header.UpdateDateTime);
     }
     stream.vmethod_11(objectsSectionStreamOffset);
     stream.vmethod_1((byte)4);
     stream.vmethod_11(50U);
     stream.vmethod_11(0U);
     stream.vmethod_11(100U);
     stream.vmethod_11(0U);
     stream.vmethod_11(512U);
     stream.vmethod_11(0U);
     stream.vmethod_11(uint.MaxValue);
     stream.vmethod_11(0U);
 }
Exemple #2
0
 public static void Write(Class889 byteStream, SummaryInfo summaryInfo)
 {
     byteStream.vmethod_19(summaryInfo.Title);
     byteStream.vmethod_19(summaryInfo.Subject);
     byteStream.vmethod_19(summaryInfo.Author);
     byteStream.vmethod_19(summaryInfo.Keywords);
     byteStream.vmethod_19(summaryInfo.Comments);
     byteStream.vmethod_19(summaryInfo.LastSavedBy);
     byteStream.vmethod_19(summaryInfo.RevisionNumber);
     byteStream.vmethod_19(summaryInfo.HyperLinkBase);
     byteStream.vmethod_25(summaryInfo.TotalEditingTime);
     byteStream.vmethod_27(summaryInfo.CreationDateTime);
     byteStream.vmethod_27(summaryInfo.ModifiedDateTime);
     byteStream.vmethod_7((ushort)summaryInfo.Properties.Count);
     foreach (SummaryInfo.Property property in summaryInfo.Properties)
     {
         byteStream.vmethod_19(property.Name);
         byteStream.vmethod_19(property.Value);
     }
     byteStream.vmethod_9(0);
     byteStream.vmethod_9(0);
 }