How can I read Publishing Image url field programmatically

Hi,
I have a document library contains some documents.
So I have a sitecolumn which have the type "Publishing Image",Now I wanted to read the publishing image programmatically.
Please provide me the sample code to read.
Appreciated if you can help.
Thanks,
Krishna 
Krishnasandeep

Use below line of code
class Program
static void Main(string[] args)
try
using (SPSite site = new SPSite("http://yoursite"))
using (SPWeb web = site.RootWeb)
if (PublishingWeb.IsPublishingWeb(web))
PublishingWeb _pweb = PublishingWeb.GetPublishingWeb(web);
if (_pweb != null)
if (_pweb.DefaultPage.Level != SPFileLevel.Checkout)
if (_pweb.DefaultPage.Item[FieldId.PublishingPageImage] as ImageFieldValue == null)
_pweb.DefaultPage.CheckOut();
ImageFieldValue _field = new ImageFieldValue();
_field.ImageUrl = "/SiteCollectionImages/home.gif";
_pweb.DefaultPage.Item[FieldId.PublishingPageImage] = _field;
_pweb.DefaultPage.Item.Update();
_pweb.DefaultPage.CheckIn("Added Image");
if (_pweb.PagesList.EnableMinorVersions)
_pweb.DefaultPage.Publish("Published");
if (_pweb.PagesList.EnableModeration)
_pweb.DefaultPage.Approve("Approved!!");
Console.WriteLine("Image Added");
catch (Exception ex)
Console.WriteLine("Error :" + ex.Message);
Console.ReadLine();
This is from the 
http://www.c-sharpcorner.com/uploadfile/bhushangawale/adding-publishingpageimage-programmatically-sharepoint-publishing-pages/
You can take the reference of this code , to get the publishing image field.
1)First you need to get the publishing web.
2)Then get the publishing page for the web from which you need to fetch the data.
3)So that targeted page you will get as an item format
so using below code get the field value
ImageFieldValue _field = Item[FieldId.PublishingPageImage] as ImageFieldValue
Now you can access the properties of the field using this object i.e.
_field.ImageUrl will give you the url stored.
Hope this will help you.
Hiren Patel | Please click "Propose As Answer" if this post solves your problem or "Vote As Helpful" if this post has been useful to you.

Similar Messages

  • How can i  read a image from a oracle DB?

    How can i read a image from a oracle DB?
    Because in the DB a have a field that is a picture that i would like to show in a jpanel.....but this field is in oracle DB only has strange caracters ..... so Do i have to read this field like a input stream?....
    Could some body help me please?
    Thanks...
    Mary

    Well I suppose the picture is stored in a blob. If that is so this is some code I have used to load a picture to a panel. Hope you find it usefull.
    PreparedStatement retreive = db.createPreparedStatement("select bl from test where ln = ?");
    Blob bl;
    try{
    retreive.setBigDecimal(1, new BigDecimal(jTFln.getText()));
    ResultSet rs = retreive.executeQuery();
    if (!rs.next())
    System.out.println("Empty Result Set");
    bl = rs.getBlob("bl");
    if (bl == null) {
    System.out.println("Null Blob");
    return;
    InputStream is = bl.getBinaryStream();
    int imageLength = (int) bl.length();
    System.out.println(imageLength);
    System.out.println(bl.length());
    byte[] imageData = new byte [imageLength];
    is.read(imageData, 0, imageLength);
    image1 = new ImageIcon(imageData);
    photo = new JPanel() {
    public void paint(Graphics g){
    g.setColor(Color.lightGray);
    g.drawImage(image1.getImage(), 0, 0, this);
    } catch (BadLocationException ble){
    ble.printStackTrace();
    } catch (SQLException sqle){
    sqle.printStackTrace();
    } catch (IOException ioe){
    ioe.printStackTrace();
    }

  • How can I read the image from database into form

    hi everyone
    if I have table like this
    create table test
    (id number(10),
    pic long raw);
    in this table record
    in form If I have block non database
    how can i read the image into non database item
    I try with this code but no good
    select pic into :photo from test where id=5;
    photo its non database item kind image
    how can i invoke image into item
    thanks alooooooot

    Hello,
    You can't select image with select query. You need to create another database block from test table which has item binds with database pic column. Now in where condition in test block's property you have to write id=5. Change test block's properties UPDATE ALLOWED, INSERT ALLOWED, DELETE ALLOWED to NO. Only Query allowed property set to YES.
    Now in your particular trigger write the code
    GO_BLOCK('test');
    Execute_Query;
    please mark if it help you or correct
    Regards,
    Danish

  • How can I read *.pcx Image ?

    Hello!
    Now, I want to read and save pcx image.
    I use jimi1_0 and its sample that name is JimiBrowserApp.
    I load jpg image, and I can save as pcx image.
    But, then, I try to read the same pcx image, I can't.
    why?
    Do you have any idea ?
    please help.

    Hello,
    Once I thought that I could solve a problem.
    I use PcxReader,
    http://www.burgsoft.com/PcxReader/
    I can read pcx image of 256colors, fullcolor, grayscale...
    But I can't read pcx image of 2colors(black and white).
    help

  • How can I read a image file through URI?

    I have a image file store in my computer's Image directory on drive E. I name the pathname as:
    file:////MyComputerName/e:/image/
    the image filename is MyImage.JPG
    so I create a ImageIcon use:
    String uri  = "file:///MyComputerName/e:/image/";
    String imagefilename = "MyImage.JPG";
    ImageIcon ii = new ImageIcon( uri+imagefilename);
    Image myimage = ii.getImage();but I can not get the image.
    Does anyone know what's wrong?
    Thank you

    Read the documentation for ImageIcon(String path) -- the String is a file path,
    not a URL. If you want to pass a URL to ImageIcon, use ImageIcon(URL url).
    So, either of the following works:
    URL url = new URL("file:///e:/image/MyImage.JPG");
    ImageIcon imageIcon1 = new ImageIcon(url);
    String path = "e:/image/MyImage.JPG";
    ImageIcon imageIcon2 = new ImageIcon(path);In case you even need it, to convert a file into a URL, you can write:
    URL url = file.toURI().toURL();And finally, you may want to check out BufferedImage and ImageIO.
    You can read in a BufferedImage in one line:
    BufferedImage image = ImageIO.read(file_or_url_etc);and a BufferedImage offers may advantages over a plain old image.

  • How can i read a image from clipboard

    Hi all,
     Can you anyone help me to figure out this problem,actually i have an VI that capture screen image(similiar to print screen option in windows) & save it in a file.and now the thing is,its working in code,once if i converted that to EXE it is not reading that image from the clipboard .I have attached that VI along with this thread please check it.
    Attachments:
    Clipboard.vi ‏20 KB

    Hey,
    It seems that the Get Image from Clipboard method is not available for executables.
    The following thread gives a working example with a CIN -> http://forums.ni.com/ni/board/message?board.id=170&message.id=35987&requireLogin=False
    Christian

  • How can I read published data from a datasocket server running in a different network?

    Hi all,
    I have been trying to solve this problem but without any success. I want to develop data acquisition Vi to run on a computer on a remote location. I want to use the datasocket technology to acquire and publish this data so that in my office (in a different network), I can read the published data and perform analysis with it. I can successfully use this approach for the two computers in the same network but not when they are in different networks. My real problem is how to specify the URL for the acquisition computer in one network while the analysis Vi runs on a different network.
    I have attached two Vis to illustrate my point (I simply want to be able to read the random numbers generated in the acquisition computer in a different network). The first Vi (RemoteDatasocketWrite.vi) will run on the remote computer with an IP address (192.168.0.110). My office computer on which RemoteDatasocketRead.vi runs has an IP address (192.168.0.11) and I can log in remotely into the remote computer using Remote Desktop Protocol with name (emelvin.001.eairlink.com) from my office computer.
     Is it possible to do what I am trying to do or is there a simpler way to solve this problem?
    I will really appreciate any help towards a solution to this problem.
    Thanks
    Attachments:
    RemoteDatasocketWrite.vi ‏9 KB
    RemoteDatasocketRead.vi ‏9 KB

    Are you getting an error? The way you have it set up, you can have an error and it will never be displayed. Put and error control on your front panel and see what it gives you. Also, shared variables in a project can be useful. Look at some examples for that.

  • How can I read the images' path in the stored catalog?

    I'm really new to pluginu development and LR. I have a problem finding the right methods to execute my intentions.
    I'd like to get the real path(s) of the pictures in the catalog, so that my external plugin can use them for further processing.
    I know Lightroom stores the catalog in C:\Users\[user name]\Pictures\Lightroom\Lightroom 5 Catalog.lrcat. But I want to get the actual path to each .jpg inside that catalog and write that path into a simple file (e.g. .txt) from which my plugin can read the path and use the images chosen by the user in LR.
    Then my plugin stores the processed images with tags into a file which should be read by LR. I don't know if it's so easy. Maybe it must create an extra collection for the catalog?
    The thing is that the Lightroom 5 manual isn't really helpful. And it would be great if someone could help.

    Thank you. I already figured it out by searching the whole internet
    But there's a thing bugging me. I want to delete the log file in which all paths are stored because everytime I run the plugin I get duplicates of the paths.
    So I thought of removing the existing log file before every time I use the plugin.
    I tried LrTasks.execute("del %HOMEPATH%\\Documents\\photosPath.log"). But nothing happens. When I use my personal path then it works pretty well. But I want it to work on any computer....

  • How can we read the current URL in Forms9i

    Hi,
    It will be greatful, if anyone give me the solution to get the current URL in Oracle forms 9i
    Regards,
    Walter Nicholas T

    Walter,
    it depends on what you need it for. The Forms URL cannot be accessed directly from Forms without using a Java Bean in it, but consists of
    <protocoll><server><port>forms90/f90servlet?config=<application>
    If you want to call resources on the same server, then you could do a web.show_document() call to /<virtual path>/<file>, whic would then look for the resource on the server that downloaded Forms
    To get the information about the config parameter, create a user parameter in Forms, say "conf" and add teh following to teh formsweb.cfg file
    [myApp]
    otherparams=conf=%config%
    In Forms the config information is accessible via
    varStr := :parameter.conf;
    To get the whole URL string, I am afraid you need to write a Java Bean in Forms (not sure of webutil already implements this, maybe worth checking)
    Frank

  • How can we read the screen field values from the report selection screen wi

    Hi expart,
    How can we read the screen field values from the report selection screen with out having an ENTER button pressed  .
    Regards
    Razz

    use this code...
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_posnr.
    **Read the Values of the SCREEN FIELDs
    CALL FUNCTION 'DYNP_VALUES_READ'

  • How can I read the bootstrap files and extract the fragment-URLs and fragment-numbers in plain text?

    How can I read the bootstrap files of any HDS Live stream and extract the fragment-URLs and fragment-numbers in plain text?
    Could it be that it is some kind of compressed format in the bootstrap? Can I uncompress it wirh  f4fpackager.exe? Could not find any download for f4fpackager.exe. I would prefere less code to do so. Is there something in Java of JavaScript, that can extract the fragment-numbers?
    Thank you!

    Doesn't sound too hard to me. Your class User (the convention says to capitalize class names) will have an ArrayList or Vector in it to represent the queue, and a method to store a Packet object into the List. An array or ArrayList or Vector will hold the 10 user objects. You will find the right user object from packet.user_id and call the method.
    Please try to write some code yourself. You won't learn anything from having someone else write it for you. Look at sample code using ArrayList and Vector, there's plenty out there. Post in the forum again if your code turns out not to behave.

  • Re: How can I post an image?

    Merging the hints, how does this look?
    Showing an image in Apple Discussions requires two things.
    1. The image has to exist and be accessible from a working server somewhere.
    2. Then the image can be referenced in html and will appear in your post.
    1. To achieve the first you need to register on one of the many free web photo hosting sites. An example of one would be Flicker. (If you have your own web site you can of course host your picture there.)
    Having taken a snapshot of the thing in question (the image), perhaps by using the Grab application on your Mac, you upload the image to your photo hosting site.
    You'll then need to get its URL from the site. It might be easy to see or you might have to read the site's FAQ for those details, as there are differences between sites.
    Easier still, if you are using Safari or Firefox right clicking (or Control click with a one button mouse) on the uploaded image will copy the link for you.
    It will have a form like this:
    http://farm3.static.flickr.com/2186/24541163585b68ff68b8s.jpg
    When you find it, open a new tab in your browser and paste it into it, to check that it displays and is therefore the correct URL for the image.
    2. To add this image to your post here on Apple Discussions, place an exclamation point before and after the link, illustrated as,
    !http://farm3.static.flickr.com/2186/24541163585b68ff68b8s.jpg&#033;
    which produces the image in the post.
    !http://farm3.static.flickr.com/2186/24541163585b68ff68b8s.jpg!
    An alternate html format is;
    <img src="http://source.address.of.image.jpg"/>

    How can I post an image? (Revision 2. Thanks to rrcharles)
    Showing an image in Apple Discussions requires two things.
    1. The image has to exist and be accessible from a working server somewhere.
    2. Then the image can be referenced in html and will appear in your post.
    1. To achieve the first you need to register on one of the many free web photo hosting sites. An example of one would be Flicker.
    Having taken a snapshot of the thing in question (the image), perhaps by using the Grab application on your Mac, you upload the image to your photo hosting site.
    You'll then need to get its URL from the site. It might be easy to see or you might have to read the site's FAQ for those details, as there are differences between sites.
    Easier still, if you are using Safari or Firefox right clicking (or Control click with a one button mouse) on the uploaded image will copy the link for you.
    It will have a form like this:
    http://farm3.static.flickr.com/2186/24541163585b68ff68b8s.jpg
    When you find it, open a new tab in your browser and paste it into it, to check that it displays and is therefore the correct URL for the image.
    2. To add this image to your post here on Apple Discussions, place an exclamation point before and after the link, illustrated as,
    !http://farm3.static.flickr.com/2186/24541163585b68ff68b8s.jpg&#033;
    which produces the image in the post.
    !http://farm3.static.flickr.com/2186/24541163585b68ff68b8s.jpg!

  • How can you upload an image to MYSQL using php?

    Ok this is a joint thread with one of my other ones because no one else  was posting on it, so I did not get what I needed, so, How can you  upload an image to mysql so when some one logs on to my site, they see  or can upload there own avatar, now there are loads of problems with  this, 1) many people don't know how, 2) It's not every day you try to  encode a image into mysql, 3) Letting people upload images into mysql  can cause traffic problem with people trying to log in. So that's it.

    Uploading images into MySQL is a bad idea, for more reasons than you mention. You should store the images in a directory on the server instead. But if you want to learn the hard way, here is the method:
    The mysql data type must be blob.
    The form enctype must be multipart, like this: enctype="multipart/form-data"
    The form input field myst be type file, like this: <input type="file" name="upload"/>
    Here is example code that prepares the variable $photodata to be inserted into the database.
      $uploadfile = $_FILES['upload']['tmp_name'];
      $photoname = $_FILES['upload']['name'];
      $uploadtype = $_FILES['upload']['type'];
      if ($uploadfile != "") {
    $tempfile = fopen($uploadfile, 'rb');
    $filesize=filesize($uploadfile);
    $width=getimagesize($uploadfile);
    $widthx=$width[0];
    $heightx=$width[1];
    if (($widthx > 102) or (heightx > 135)){
    $image_too_big = " but the image size was too large and was not submitted.";
    } else {
    $photodata = fread($tempfile, filesize($uploadfile));
    $photodata = addslashes($photodata);

  • How can I determine which image was clicked in 3D carousel?

    I have been modifying some 3D carousel code that I found in hopes that I can get it such that when image "resolv2.jpg" (or any of my other images) is clicked on at the front of my carousel, it goes to a specific webpage. By just replacing "moveBack(event.target) from the toggler section of the code with "navigateToURL:(newURLRequest('http://google.com'), the target DOES sucessfully go to google when clicked on. However, I want to modify this code by altering the else statement to say something to the effect of "else if event.target (clicked on object) is 'resolv2.jpg' THEN go to google". So essentially, my question is how can I determine which image was clicked? Here is the entire code with the area I was altering bolded:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" applicationComplete="init();" backgroundGradientColors="[#000033, #000033]" backgroundGradientAlphas="[1.0, 1.0]">
    <mx:Script>
              <![CDATA[
    //Import Papervision Classes
                   import org.papervision3d.scenes.*;
                   import org.papervision3d.cameras.*; 
                   import org.papervision3d.objects.*;
                   import org.papervision3d.objects.primitives.*;
                   import org.papervision3d.materials.*;
                   import org.papervision3d.materials.shadematerials.*;
                   import org.papervision3d.materials.utils.MaterialsList;
                   import org.papervision3d.lights.*;
                   import org.papervision3d.render.*;
                   import org.papervision3d.view.*;
                   import org.papervision3d.events.*;
                   import org.papervision3d.core.*;
                   import org.papervision3d.lights.PointLight3D;
                   import flash.filters.DropShadowFilter;
                         import caurina.transitions.*;
                         private var numOfItems:int = 5;
                         private var radius:Number = 600;
                         private var anglePer:Number = (Math.PI*2) / numOfItems;
                         //private var dsf:DropShadowFilter = new DropShadowFilter(10, 45, 0x000000, 0.3, 6, 6, 1, 3);
                   public var angleX:Number = anglePer;
             public var dest:Number = 1;
                   private var theLight:PointLight3D;
            //Papervision Engine
                   private var viewport:Viewport3D; 
                   private var scene:Scene3D; 
                   private var camera:Camera3D;
                   private var renderer:BasicRenderEngine;
             private var planeArray:Array = new Array();
             [Bindable]
             public var object:Object;
             private var arrayPlane:Object;
             private var p:Plane;
             //Initiation function           
             private function init():void 
             viewport = new Viewport3D(pv3dCanvas.width, pv3dCanvas.height, false, true); 
             pv3dCanvas.rawChildren.addChild(viewport); 
             viewport.buttonMode=true;
             renderer = new BasicRenderEngine();
             scene = new Scene3D(); 
             camera = new Camera3D();
             camera.zoom = 2; 
             createObjects(); 
             addEventListeners();
    //Create Objects function          
              private function createObjects():void{
              for(var i:uint=1; i<=numOfItems; i++)
                        /* var shadow:DropShadowFilter = new DropShadowFilter();
                        shadow.distance = 10;
            shadow.angle = 25; */
                        var bam:BitmapFileMaterial = new BitmapFileMaterial("images/resolv"+i+".jpg");
                        bam.oneSide = false;
                        bam.smooth = true;
            bam.interactive = true;
                        p = new Plane(bam, 220, 200, 2, 2);
                        p.x = Math.cos(i*anglePer) * radius;
                        p.z = Math.sin(i*anglePer) * radius;
                        p.rotationY = (-i*anglePer) * (180/Math.PI) + 270;
                        scene.addChild(p);
                        //p.filters=[shadow];
                        p.extra={pIdent:"in"};
                        p.addEventListener(InteractiveScene3DEvent.OBJECT_PRESS, toggler);
            planeArray[i] = p;
              // create lighting
            theLight = new PointLight3D();
            scene.addChild(theLight);
            theLight.y = pv3dCanvas.height;
              private function toggler(event:InteractiveScene3DEvent):void
                            // if the cube's position is "in", move it out else move it back
                            if (event.target.extra.pIdent == "in")
                                    moveOut(event.target);
                            else
                                   moveBack(event.target);
                    private function moveOut(object:Object):void
                              trace(object +" my object");
                            // for each cube that was not selected, remove the click event listener
                            for each (var arrayPlane:Object in planeArray)
                                    if (arrayPlane != object)
                                            arrayPlane.removeEventListener(InteractiveScene3DEvent.OBJECT_PRESS, toggler);
                            //right.enabled=false;
                            //left.enabled=false;
                            // move the selected cube out 1000 and rotate 90 degrees once it has finished moving out
                            Tweener.addTween(object, {scaleX:1.2, time:0.5, transition:"easeInOutSine", onComplete:rotateCube, onCompleteParams:[object]});
                            Tweener.addTween(object, {scaleY:1.2, time:0.5, transition:"easeInOutSine", onComplete:rotateCube, onCompleteParams:[object]});
                            // set the cube's position to "out"
                            object.extra = {pIdent:"out"};
                            // move the camera out 1000 and move it the to same y coordinate as the selected cube
                            //Tweener.addTween(camera, {x:1000, y:object.y, rotationX:0, time:0.5, transition:"easeInOutSine"});
                    private function moveBack(object:Object):void
                            // for each cube that was not selected, add the click event listener back
                            for each (var arrayPlane:Object in planeArray)
                                    if (arrayPlane != object)
                                            arrayPlane.addEventListener(InteractiveScene3DEvent.OBJECT_PRESS, toggler);
                            // move the selected cube back to 0 and rotate 90 degrees once it has finished moving back
                            Tweener.addTween(object, {scaleX:1, time:0.5, transition:"easeInOutSine", onComplete:rotateCube, onCompleteParams:[object]});
                            Tweener.addTween(object, {scaleY:1, time:0.5, transition:"easeInOutSine", onComplete:rotateCube, onCompleteParams:[object]});
                            // set the cube's position to "in"
                            object.extra = {pIdent:"in"};
                            // move the camera back to its original position
                            //Tweener.addTween(camera, {x:0, y:1000, rotationX:-30, time:0.5, transition:"easeInOutSine"});
                            //right.enabled=true;
                            //left.enabled=true;
                    private function goBack():void
                            // for each cube that was not selected, add the click event listener back
                            for each (var arrayPlane:Object in planeArray)
                                    if (arrayPlane != object)
                                            arrayPlane.addEventListener(InteractiveScene3DEvent.OBJECT_PRESS, toggler);
                    private function rotateCube(object:Object):void
                            //object.rotationX = 0;
                            //Tweener.addTween(object, {rotationZ:0, time:0.5, transition:"easeOutSine"});
              private function addEventListeners():void{
        this.addEventListener(Event.ENTER_FRAME, render);
    //Enter Frame Listener function             
    private function render(e:Event):void{ 
                     renderer.renderScene(scene, camera, viewport);
                     camera.x = Math.cos(angleX) * 800;                                                  
                     camera.z = Math.sin(angleX) * 800;
    private function moveRight():void
              dest++;
              Tweener.addTween(this, {angleX:dest*anglePer, time:0.5});
              //goBack();
    private function moveLeft():void
              dest--;
              Tweener.addTween(this, {angleX:dest*anglePer, time:0.5});
              //goBack();
              ]]>
    </mx:Script>
              <mx:Canvas width="1014" height="661">
              <mx:Canvas id="pv3dCanvas" x="503" y="20" width="400" height="204" borderColor="#110101" backgroundColor="#841414" alpha="1.0" backgroundAlpha="0.57"> 
              </mx:Canvas>
              <mx:Button x="804" y="232" label="right" id="right" click="moveRight(),goBack()"/>
              <mx:Button x="582" y="232" label="left"  id="left"  click="moveLeft(),goBack()" />
              </mx:Canvas>
    </mx:Application>

    Your answer may be correct, but I am very much a beginner to actionscript, and I was wondering moreso if it is possible to determine the root/url (i.e. images/resolv2.jpg)? Or even if InteractiveScene3DEvent calls a variable that holds this url? However, specifically, I'm just wondering if the actionscript itself could determine the url in a line of code such as "if object == BitmapFileMaterial("/images/resolv2.jpg"); "? Also, here's a copy of InteractiveScene3DEvent in more detail if you think that will help:
    public class InteractiveScene3DEvent extends Event
                         * Dispatched when a container in the ISM recieves a MouseEvent.CLICK event
                        * @eventType mouseClick
                        public static const OBJECT_CLICK:String = "mouseClick";
                         * Dispatched when a container in the ISM receives an MouseEvent.MOUSE_OVER event
                        * @eventType mouseOver
                        public static const OBJECT_OVER:String = "mouseOver";
                         * Dispatched when a container in the ISM receives an MouseEvent.MOUSE_OUT event
                        * @eventType mouseOut
                        public static const OBJECT_OUT:String = "mouseOut";
                         * Dispatched when a container in the ISM receives a MouseEvent.MOUSE_MOVE event
                        * @eventType mouseMove
                        public static const OBJECT_MOVE:String = "mouseMove";
                         * Dispatched when a container in the ISM receives a MouseEvent.MOUSE_PRESS event
                        * @eventType mousePress
                        public static const OBJECT_PRESS:String = "mousePress";
                         * Dispatched when a container in the ISM receives a MouseEvent.MOUSE_RELEASE event
                        * @eventType mouseRelease
                        public static const OBJECT_RELEASE:String = "mouseRelease";
                         * Dispatched when the main container of the ISM is clicked
                        * @eventType mouseReleaseOutside
                        public static const OBJECT_RELEASE_OUTSIDE:String = "mouseReleaseOutside";
                         * Dispatched when a container is created in the ISM for drawing and mouse interaction purposes
                        * @eventType objectAdded
                        public static const OBJECT_ADDED:String = "objectAdded";
                        public var displayObject3D                                        :DisplayObject3D = null;
                        public var sprite                                                            :Sprite = null;
                        public var face3d                                                            :Triangle3D = null;
                        public var x                                                                      :Number = 0;
                        public var y                                                                      :Number = 0;
                        public var renderHitData:RenderHitData;
                        public function InteractiveScene3DEvent(type:String, container3d:DisplayObject3D=null, sprite:Sprite=null, face3d:Triangle3D=null,x:Number=0, y:Number=0, renderhitData:RenderHitData = null, bubbles:Boolean=false, cancelable:Boolean=false)
                                  super(type, bubbles, cancelable);
                                  this.displayObject3D = container3d;
                                  this.sprite = sprite;
                                  this.face3d = face3d;
                                  this.x = x;
                                  this.y = y;
                                  this.renderHitData = renderhitData;
    Thank you so much!

  • How can I move some image on JPanel ?

    How can I move some image on JPanel ?
    I want to move it with my arrow keys.
    Plees, give me example code

    1) Read the Swing tutorial on [url http://java.sun.com/docs/books/tutorial/uiswing/layout/index.html]Using Layout Managers. You would need to use Absolute Positioning so you can control the position of the image
    2) Add the image to a JLabel and the label to the panel
    3) Read the tutorial on [url http://java.sun.com/docs/books/tutorial/uiswing/misc/keybinding.html]How to Use Key Bindings. Then you just assign an Action to each of the arrow keys and use setLocation(...) to move the label.

Maybe you are looking for

  • How to get Portal User Context  in Web Dynpro application

    I have successfully integrate a web dynpro app into SAP Netweaver Portal. Within my web dynpro app, how can I get portal user context information such as first name, last name, job title or some newly created ume attibutes. Is there any programmatica

  • Can I use japanese ipad 3G on other carrier overseas?

    I spend about half my time in Japan and the rest in either Europe or Australia.  I'm in Japan at the moment and am thinking to buy an ipad.  Nobody in the softbank shop or the apple store can tell me if I can use it on another carrier when I'm not in

  • Firefox 28 has double of all bookmarks, deleting one deletes both

    I have "Bookmarks Toolbar" and "Bookmarks Menu" both listed twice in my side bar (what appears when you hit "cntrl-b" and I cannot delete the duplicates, it deletes both versions. I have uninstalled and re-installed FF, and also tried resetting all s

  • A good external monitor

    hello, i have the final cut suite and i heard that when doing color correction you do not want to use your computer screen. does anyone know of a good tv monitor that is good - or if i even need one and the computer screen works just fine? at my scho

  • MSI GT70 Workstation Certified By ISV Ascon - Kompas 3D

    MSI provides the latest GT70 2OK mobile workstation to *ASCON, a Russian engineering software developer of CAD, AEC, PLM for reliability and compatibility tests. MSI mobile workstation is the ideal solution for engineers, whose professions are to wor