//
//  PrintImageData.m
//
//  Created by mac on 2019/3/26.
//  Copyright © 2019年 zyl. All rights reserved.
//

#import "PrintImageData.h"

@implementation PrintImageData

- (void)encodeWithCoder:(NSCoder *)encoder {
    [encoder encodeObject:self.picString forKey:@"picString"];
    [encoder encodeObject:self.alignmentString forKey:@"alignmentString"];
    [encoder encodeObject:self.widthString forKey:@"widthString"];
    [encoder encodeObject:self.heightString forKey:@"heightString"];
}

- (id)initWithCoder:(NSCoder *)decoder {
    if((self = [super init])) {
        self.picString = [decoder decodeObjectForKey:@"picString"];
        self.alignmentString = [decoder decodeObjectForKey:@"alignmentString"];
        self.widthString = [decoder decodeObjectForKey:@"widthString"];
        self.heightString = [decoder decodeObjectForKey:@"heightString"];
    }
    return self;
}

@end
