home *** CD-ROM | disk | FTP | other *** search
/ Adobe Graphics & Publishing SDK 1996 December / Adobe Graphics & Publishing SDK 1996 December.iso / pc / pm65sdk / sourcecode / pagemakerclasslibrary / commands / ppagemargins.cpp < prev    next >
Encoding:
C/C++ Source or Header  |  1996-09-04  |  857 b   |  33 lines

  1. /*
  2.  *--- PPageMargins.cpp ----------------------------------------------------
  3.  * Copyright (c) 1995-96 Adobe Systems Incorporated.  All rights reserved.
  4.  * Created on Sun, Oct 22, 1995 @ 4:19 PM by Paul Ferguson.
  5.  *
  6.  * Description:  For notes about this class, refer to the
  7.  * PCL documentation file PPageMargins.html
  8.  *-------------------------------------------------------------------------
  9.  */
  10.  
  11. #include "PPageMargins.h"
  12. #include "PRequestBuf.h"
  13. #include "PCommand.h"
  14.  
  15. const size_t REQUEST_SIZE = 18;
  16.  
  17. PPageMargins::PPageMargins
  18.   (    long    xInside,
  19.     long    yTop,
  20.     long    xOutside,
  21.     long    yBottom,
  22.     PMBool    bAdjustLayout )
  23. {
  24.     char * temp[REQUEST_SIZE];
  25.     PRequestBuf request(temp);
  26.  
  27.     request << xInside << yTop << xOutside << yBottom << bAdjustLayout;
  28.             
  29.     PCommand command(pm_pagemargins, request);
  30. }
  31.  
  32. // end of PPageMargins.cpp
  33.