I am using below code to draw an image, i am able to resize the image. But unable to move the image
- (void)drawStampStart:(CDVInvokedUrlCommand*)command
{
self.cdv_command = command;
NSDictionary *params = (NSDictionary*) [cdv_command argumentAtIndex:0];
NSString *imageBase64 = [params objectForKey:@"image"];
if (imageBase64 == nil) {
[m_pdf drawImage];
} else {
NSData *data = [[NSData alloc] initWithBase64EncodedString:imageBase64 options:0];
UIImage *image = [UIImage imageWithData:data];
[m_pdf drawImageWithImage:image];
}
[self cdvOkWithMessage:@"success"];
}
Is it possible to move the image? or if i can place the image as annotation can it be moved.
Appreciate your support.